package com.njtoyo.taxi.admin.rest.wrapper.business.advertise;

import com.njtoyo.taxi.admin.mapper.master.enums.AdvertiseApp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class BatchUpdateStateWrapper {
    @ApiModelProperty(value = "平台")
    @NotNull(message = "平台不能为空")
    private AdvertiseApp app;

    @ApiModelProperty(value = "选中的id")
    @NotNull(message = "ids不能为空")
    List<Long> ids;


    @ApiModelProperty(value = "是否启用")
    @NotNull(message = "是否启用为空")
    private Boolean isActive;


}
